@media (max-width: 8000px) {
  .pizzasPageTitle {
    width: 1380px;
    font-size: 50px;
  }

  .pizzaTilesWrapper {
    gap: 30px;
    width: 1380px;
    grid-template-columns: repeat(4, auto);
  }

  .pizzaTile {
    height: 530px;
    width: 300px;
  }

  .pizzaTile img {
    margin-top: 8px;
    margin-left: 8px;
  }

  .pizzaTileName {
    font-size: 25px;
  }

  .pizzaTileDescription {
    font-size: 15px;
  }

  .pizzaTileBlock a {
    font-size: 15px;
  }

  .pizzaTileBlock p {
    padding: 7px 20px;
    font-size: 20px;
  }

  .searchPanel {
    gap: 30px;
  }
}

@media (max-width: 1380px) {
  .pizzasPageTitle {
    width: 980px;
    font-size: 45px;
  }

  .pizzaTilesWrapper {
    width: 980px;
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 980px) {
  .pizzasPageTitle {
    width: 850px;
    font-size: 40px;
  }

  .pizzaTilesWrapper {
    margin: 20px 0;
    width: 630px;
    grid-template-columns: repeat(2, auto);
  }

  .pizzaTile {
    height: 450px;
  }

  .pizzaTile img {
    margin-top: 30px;
    margin-left: 30px;
    width: 250px !important;
    height: 250px !important;
  }
}

@media (max-width: 860px) {
  .pizzasPageTitle {
    width: 650px;
    font-size: 35px;
  }
}

@media (max-width: 650px) {
  .pizzasPageTitle {
    width: 350px;
    font-size: 20px;
  }

  .pizzaTilesWrapper {
    margin-top: 30px;
    gap: 30px 0;
    width: 350px;
    grid-template-columns: repeat(2, auto);
  }

  .pizzaTile {
    height: 270px;
    width: 175px;
  }

  .pizzaTile img {
    margin-top: 0;
    margin-left: 17px;
    width: 150px !important;
    height: 150px !important;
  }

  .pizzaTileName {
    font-size: 15px;
  }

  .pizzaTileDescription {
    font-size: 10px;
  }

  .pizzaTileBlock a {
    font-size: 10px;
    padding: 7px 15px;
  }

  .pizzaTileBlock p {
    padding: 5px 13px;
    font-size: 13px;
  }

  .searchPanel {
    gap: 5px;
  }

  .searchPanel > input {
    font-size: 10px;
    border-radius: 7px;
  }

  .toggleButton {
    padding: 5px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 350px) {
  .pizzasPageTitle {
    width: 250px;
    font-size: 15px;
  }

  .pizzaTilesWrapper {
    margin-top: 20px;
    gap: 30px 0;
    width: 250px;
    grid-template-columns: repeat(2, auto);
  }

  .pizzaTile {
    height: 150px;
    width: 125px;
  }

  .pizzaTile img {
    margin-top: 0;
    margin-left: 27px;
    width: 75px !important;
    height: 75px !important;
  }

  .pizzaTileName {
    font-size: 10px;
  }

  .pizzaTileDescription {
    font-size: 5px;
  }

  .pizzaTileBlock a {
    font-size: 5px;
    padding: 5px 12px;
  }

  .pizzaTileBlock p {
    padding: 4px 10px;
    font-size: 7px;
  }

  .searchPanel > input {
    font-size: 5px;
    border-radius: 3px;
  }

  .toggleButton {
    font-size: 5px !important;
  }
}

.pizzasPageContent {
  display: flex;
  gap: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pizzasPageTitle {
  text-align: center;
  font-weight: 300;
  color: #4b1514;
  border-bottom: 1px solid #ffe1ac;
}

.pizzasPageTitle:last-child {
  border-bottom: none;
}

.pizzaTilesWrapper {
  list-style: none;
  display: grid;
}

.pizzaTile {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.pizzaTileName {
  text-align: center;
  color: #4b1514;
  font-style: italic;
}

.pizzaTileDescription {
  font-style: italic;
  text-align: center;
  color: gray;
}

.pizzaTileBlock {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.pizzaTileBlock button {
  font-weight: 600;
  background: rgb(255, 166, 0);
  border-radius: 5px;
  color: #4b1514;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.pizzaTileBlock button a {
  text-decoration: none;
  color: #4b1514;
}

.pizzaTileBlock p {
  user-select: none;
  color: rgb(255, 166, 0);
  border-radius: 30px;
  font-style: italic;
  font-weight: 800;
}

.searchPanel {
  display: flex;
}

.toggleButtonGroup {
  user-select: none;
  justify-content: center;
}

.toggleButton {
  transition: 0.5s all;
  color: gray;
}
